Feature: Validacion funcionalidades Ghost
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 51.584s |
Scenario: Como usuario, quiero crear un post, y si no me gusta eliminarlo.
Before
0m 2.289s
Given
I navigate to page "https://ghost-3llp.onrender.com/ghost/#/signin"
0m 8.922s
When
I enter email "testerJunior@gmail.com"
0m 2.114s
And
I enter password "testerjunior1"
0m 1.313s
And
I click login
0m 1.660s
And
I click on posts
0m 4.666s
And
I click on new post
0m 1.221s
And
I enter post title "Nueva publicación eliminar" in the content field
0m 1.275s
And
I enter post content "contenido de la nueva publicación eliminar" in the content field
0m 2.372s
And
I click publish
0m 1.476s
And
I click continue, final review
0m 1.453s
And
I click publish post, right now
0m 8.176s
And
I click Back to editor
0m 1.289s
And
I click on posts
0m 2.015s
Then
I verify that a post with text "Nueva publicación eliminar" exists
0m 1.788s
When
I click on a post with name "Nueva publicación eliminar"
0m 1.196s
And
I click on the post options element
0m 1.517s
And
I click on the delete post button
0m 3.689s
+ Show Error
Error: element ("//span[contains(text(), "Delete post") and .//svg]") still not displayed after 3000ms
at /Users/feliperivera/node_modules/webdriverio/build/commands/browser/waitUntil.js:66:23
at async Element.wrapCommandFn (/Users/feliperivera/node_modules/@wdio/utils/build/shim.js:136:29)
at async Element.elementErrorHandlerCallbackFn (/Users/feliperivera/node_modules/webdriverio/build/middlewares.js:24:32)
at async Element.wrapCommandFn (/Users/feliperivera/node_modules/@wdio/utils/build/shim.js:136:29)
at async Element.wrapCommandFn (/Users/feliperivera/node_modules/@wdio/utils/build/shim.js:136:29)
at async Element.elementErrorHandlerCallbackFn (/Users/feliperivera/node_modules/webdriverio/build/middlewares.js:24:32)
at async Element.wrapCommandFn (/Users/feliperivera/node_modules/@wdio/utils/build/shim.js:136:29)
at async KrakenWorld.<anonymous> (/Users/feliperivera/Desktop/Kraken/features/web/step_definitions/step.js:268:5)
Then
I verify that an header with text "Are you sure you want to delete this post?" exists
0m 0.000s
When
I click on Delete
0m 0.000s
Then
I verify that a post with text "Nueva publicación eliminar" does not exist
0m 0.000s
After
0m 3.153s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "https://ghost-3llp.onrender.com/ghost/#/signin"
When
I enter email "testerJunior@gmail.com"
And
I enter password "testerjunior1"
And
I click login
And
I click on posts
And
I click on new post
And
I enter post title "Nueva publicación eliminar" in the content field
And
I enter post content "contenido de la nueva publicación eliminar" in the content field
And
I click publish
And
I click continue, final review
And
I click publish post, right now
And
I click Back to editor
And
I click on posts
Then
I verify that a post with text "Nueva publicación eliminar" exists
When
I click on a post with name "Nueva publicación eliminar"
And
I click on the post options element
And
I click on the delete post button
Then
I verify that an header with text "Are you sure you want to delete this post?" exists
NO IMAGE AVAILABLE
When
I click on Delete
NO IMAGE AVAILABLE
Then
I verify that a post with text "Nueva publicación eliminar" does not exist
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE